package itsm.isperp.framework.web.formatter;

import org.springframework.beans.PropertyEditorRegistrar;
import org.springframework.beans.PropertyEditorRegistry;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2016-3-9
 * @since 1.0
 * 
 */
public class StringEscapeEditorRegistrar implements PropertyEditorRegistrar {

	@Override
	public void registerCustomEditors(PropertyEditorRegistry registry) {
		registry.registerCustomEditor(StringEscapeEditor.class,
				new StringEscapeEditor(true, true, true));

	}
}
